import javax.imageio.ImageIO;
import java.io.IOException;

public class bee extends fly{
    protected int speed;
    protected int blood;

    public bee(){
        super(JpanelDemo.bee, 150, 150);
        /*try {
            pic = ImageIO.read(JpanelDemo.class.getResourceAsStream("pic\\bee.png"));
            blood = 1;
            speed = 3;
        } catch (IOException e) {
            e.printStackTrace();
        }*/
    }

    @Override
    public void move() {
        /*y += speed;
        x += speed;
        if (x > width) x -= speed;
        if (x < 0) x += speed;*/
    }

    public int getSpeed() {
        return speed;
    }

    public void setSpeed(int speed) {
        this.speed = speed;
    }

    public int getBlood() {
        return blood;
    }

    public void setBlood(int blood) {
        this.blood = blood;
    }
}
